package com.homson.coreservice.servicecommon.enumeration;

public enum ResponseCodeEnum implements BaseCodeEnum {
    SUCCESS(200),
    BIZ_ERROR(400),
    NOT_LOGIN(401),
    UNAUTHORIZED(402),
    FORBIDDEN(403),
    NOT_FOUND(404),
    INTERNAL_SERVER_ERROR(500),
    ERROR(501);
    
    private Integer code;
    
    private ResponseCodeEnum(Integer code){
        this.code=code;
    }
    
    @Override
    public Integer getCode() {
        return this.code;
    }
}
